home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / os2cop21.zip / OS2COPY.DOC < prev    next >
Text File  |  1993-04-29  |  25KB  |  328 lines

  1. ┌───────────────────────────────────────────────────────────────────────────┐
  2. │  OS2COPY rel. 2.1 by Ståhle (C)                                           │
  3. │                                                                           │
  4. │  This packet is designed to Copy an OS/2 v. 2.1 Beta March 1993           │
  5. │  HPFS or FAT BootManager system, fully configured, from one partition     │
  6. │  (drive letter) to an other (eg. from D: to F:)                           │
  7. │                                                                           │
  8. │  >> It will NOT work on a plain OS/2 v. 2.0 GA without CSD (= ServicePak) │
  9. │                                                                           │
  10. │  This also implies that an entire system including all configuration,     │
  11. │  installed on one computer can be copied to another if the hard disk      │
  12. │  from the second computer is temporarily installed on the first one.      │
  13. │                                                                           │
  14. ├───────────────────────────────────────────────────────────────────────────┤
  15. │ File list:                                                                │
  16. │                                                                           │
  17. │ OS2Copy.DOC  (this file).                                                 │
  18. │                                                                           │
  19. │ All of these are required files:                                          │
  20. │                                                                           │
  21. │ OS2Copy.CMD    Initiates the copy process.                                │
  22. │ OS2Copy2.CMD   Performs the copy process.                                 │
  23. │ InitEdit.Exe   Edits the init files.                                      │
  24. │ YesNo.LNG      abbreviations for Yes and No in national language          │
  25. │ XCopy.Sw       switches for XCOPY                                         │
  26. │ InitEdit.LST   list of files to be edited                                 │
  27. │ ......................................................................... │
  28. │                                                                           │
  29. │ If your OS/2 system is using a national language (ie. other than English) │
  30. │ you +MUST+ edit this file - any 7 bit ASCII text editor will do:          │
  31. │                                                                           │
  32. │ YesNo.LNG    abbreviations for Yes and No in your national language       │
  33. │ ......................................................................... │
  34. │                                                                           │
  35. │ You may also have to edit this file, any 7 bit ASCII text editor will do: │
  36. │                                                                           │
  37. │ InitEdit.LST                                                              │
  38. │ (List of files, may need editing especially if you are copying a national │
  39. │  language version other than English).                                    │
  40. │ ......................................................................... │
  41. │                                                                           │
  42. │ You may also find it necessary to edit the file (if version > 2.1 beta):  │
  43. │                                                                           │
  44. │ XCopy.Sw     v. 2.1 switches for XCOPY                                    │
  45. ├───────────────────────────────────────────────────────────────────────────┤
  46. │                                                                           │
  47. │  All of the above are Copyright (C):                                      │
  48. │                       John Ståhle                                         │
  49. │                       289A Buddinge Hovedgade                             │
  50. │                       DK-2880 Bagsværd                                    │
  51. │                       Denmark, Europe                                     │
  52. │                       Phone +45 44 98 66 18 (voice)                       │
  53. │                                                                           │
  54. │  You can reach me through the RIME and ILINK international OS/2           │
  55. │  conferences, user name: John Staahle                                     │
  56. │                                                                           │
  57. └───────────────────────────────────────────────────────────────────────────┘
  58.  
  59. ┌───────────────────────────────────────────────────────────────────────────┐
  60. │                                                                           │
  61. │  This is what it is all about:                                            │
  62. │                                                                           │
  63. │  Two co-operating REXX scripts, and a co-operating program,               │
  64. │  designed to Copy an * OS/2 HPFS or FAT BootManager * system from         │
  65. │  one drive letter to another, eg. from D: to E:                           │
  66. │                                                                           │
  67. │  There is no obvious reason why this packet should not work on a          │
  68. │  'OS/2 as only operating system' too but this has not yet been tested.    │
  69. │  It may even work in a network, this has not been tested either.          │
  70. │                                                                           │
  71. │  The program interacts with the two OS2Copy.CMDs, (which also interacts)  │
  72. │  in performing the actual editing of OS/2 initfiles (OS2.INI and the like)│
  73. │  to fit on a new partition, creating data files for the scripts, etc.     │
  74. │                                                                           │
  75. └───────────────────────────────────────────────────────────────────────────┘
  76. ┌───────────────────────────────────────────────────────────────────────────┐
  77. │                                                                           │
  78. │ How to:                                                                   │
  79. │                                                                           │
  80. │   Prerequisites:                                                          │
  81. │                                                                           │
  82. │   1. An installed OS/2 BootManager system                                 │
  83. │      with REXX (part of standard OS/2) installed                          │
  84. │                                                                           │
  85. │   2. A partition to Copy to :-)                                           │
  86. │      >>> This partition will become formatted during the procedure <<<    │
  87. │      >>> AND it will contain ALL files found on the From system.   <<<    │
  88. │      >>> The latter implies that the From partition must have      <<<    │
  89. │      >>> room for these files.                                     <<<    │
  90. │                                                                           │
  91. │   3. The files listed as Required in the above Filelist.                  │
  92. │                                                                           │
  93. │  >>  All these files MUST reside in the subdirectory from which you       │
  94. │  >>  start OS2COPY.                                                       │
  95. │  >>  This subdirectory MUST be included in the PATH statement in your     │
  96. │  >>  Config.Sys system file +AND+ in your DOS PATH statement in           │
  97. │  >>  in Autoexec.Bat.                                                     │
  98. │  >>  It is highly recommended to place this subdirectory entry            │
  99. │  >>  immediately after "\OS2;" in both of these PATH statements          │
  100. │                                                                           │
  101. │      Recommended installation procedure:                                  │
  102. │                                                                           │
  103. │      Create a subdirectory named O immediately below the root of your     │
  104. │      From-Drive (eg. X:\O).                                               │
  105. │                                                                           │
  106. │      Copy all files to this subdirectory.                                 │
  107. │                                                                           │
  108. │      Include this subdirectory in the two PATH statements in Config.Sys   │
  109. │      and Autoexec.Bat, respectively. Reboot after editing these files.    │
  110. │                                                                           │
  111. └───────────────────────────────────────────────────────────────────────────┘
  112.  
  113. ┌───────────────────────────────────────────────────────────────────────────┐
  114. │                                                                           │
  115. │   Hands on:                                                               │
  116. │                                                                           │
  117. │ First take a look at what is in the following 7 bit ASCII files:          │
  118. │  YesNo.LNG, XCopy.Sw and InitEdit.LST                                     │
  119. │                                                                           │
  120. │ >>> Make a full backup of your From drive and of anything you want to <<< │
  121. │ >>> keep on your To drive.                                            <<< │
  122. │                                                                           │
  123. │  >>>  No other process may be active while this job is running        <<< │
  124. │                                                                           │
  125. │   Stick to what the program and this documentation file tells you.        │
  126. │                                                                           │
  127. │   Think while you work.                                                   │
  128. │                                                                           │
  129. │   Read - actually read - verify and respect the instruction displayed     │
  130. │   on your screen while running the two OS2COPY*.CMD-scripts.              │
  131. │                                                                           │
  132. │   You +MUST+ edit the file 'YesNo.LNG' if copying a national language     │
  133. │   version other than English. Use any 7 bit ASCII text editor.            │
  134. │                                                                           │
  135. │   You may need to edit InitEdit.LST - use any 7 bit ASCII text editor -   │
  136. │   but unless you have a very non-standard system or applications which    │
  137. │   keep hard coded drive information outside the OS*.INI files, I doubt it.│
  138. │                                                                           │
  139. │   Open a full screen command line session and type:                       │
  140. │                                                                           │
  141. │     OS2Copy <From Drive> with or without a trailing :                     │
  142. │                                                                           │
  143. │       you will later be prompted for <ToDrive>                            │
  144. │                                                                           │
  145. │   or just:                                                                │
  146. │                                                                           │
  147. │     OS2Copy                                                               │
  148. │                                                                           │
  149. │     in which case you will be prompted for <FromDrive> and later be       │
  150. │     prompted for <ToDrive>                                                │
  151. │                                                                           │
  152. │   or, if you are absolutely positive, which drive letter will be          │
  153. │       assigned to the new TO system:                                      │
  154. │                                                                           │
  155. │     OS2Copy <From Drive> <To Drive>                                       │
  156. │                                                                           │
  157. │   Samples:                                                                │
  158. │                                                                           │
  159. │      OS2COPY D                                                            │
  160. │      OS2COPY                                                              │
  161. │      OS2COPY D: F                                                         │
  162. │      OS2COPY D G                                                          │
  163. │                                                                           │
  164. │   Whichever you choose, you are twice asked to confirm the FROM and TO    │
  165. │   partition and file system.                                              │
  166. │                                                                           │
  167. │   Although it is a simple task to make FDISK automatically delete and     │
  168. │   create the TO partition, for the sake of safety you are required to do  │
  169. │   this manually when FDISK has been started by the script.                │
  170. │                                                                           │
  171. └───────────────────────────────────────────────────────────────────────────┘
  172.  
  173. ┌───────────────────────────────────────────────────────────────────────────┐
  174. │                                                                           │
  175. │   Hands on 2.:                                                            │
  176. │                                                                           │
  177. │   React to the warnings and follow the instructions displayed on screen.  │
  178. │                                                                           │
  179. │   WHEN you have made changes using FDISK - and this you MUST:             │
  180. │   You MUST delete any old partition that may exist where you want the new │
  181. │   system to reside, create a new partition and add it to BootManager      │
  182. │   - or you will have to restart the procedure from scratch.               │
  183. │                                                                           │
  184. │   Upon leaving FDISK you are requested to reboot using CTRL ALT DEL       │
  185. │   Do so. Do +NOT+ use the RESET button, FDISK has not finished yet.       │
  186. │                                                                           │
  187. │   When your system reboots, the OS2Copy2 is automatically called from a   │
  188. │   temporary STARTUP.CMD file in your <From Drive> root directory.         │
  189. │                                                                           │
  190. │   When copying is finished, you MAY have to copy your original STARTUP.CMD│
  191. │   (now named STARTUP.@#@) back into STARTUP.CMD.                          │
  192. │   I have never experienced this myself, but I know (inside info '-))      │
  193. │   that the automatic restore of STARTUP.CMD may not always work.          │
  194. │                                                                           │
  195. │   A backup of the original <From Drive> init files, Config.Sys and        │
  196. │   Autoexec.Bat are left in a subdirectory named <To Drive>\<From Drive>   │
  197. │   (eg. F:\D ).                                                            │
  198. ├───────────────────────────────────────────────────────────────────────────┤
  199. │                                                                           │
  200. │>> The first time you boot from the newly created system, normally only  <<│
  201. │>> a skeleton WorkPlaceShell shows up                                    <<│
  202. │                                                                           │
  203. │ ┌───────────────────────────────────────────────────────────────────┐     │
  204. │ │                                                                   │     │
  205. │ │     >>> !!! Reboot IMMEDIATELY using Control+Alt+Del !!! <<<      │     │
  206. │ │                                                                   │     │
  207. │ │          !!! Do NOT perform an orderly shut down !!!              │     │
  208. │ │          !!! Do NOT make any changes to the WPS  !!!              │     │
  209. │ │                                                                   │     │
  210. │ └───────────────────────────────────────────────────────────────────┘     │
  211. ├───────────────────────────────────────────────────────────────────────────┤
  212. │                                                                           │
  213. │   Copying an entire system including all configuration from one           │
  214. │   computer to the next one:                                               │
  215. │                                                                           │
  216. │   Install and configure OS/2 on hard disk 2 (often D:) on From-computer.  │
  217. │                                                                           │
  218. │   Physically install the hard disk to transfer to as disk 1 (C:)          │
  219. │                                                                           │
  220. │   Begin installing OS/2 on hard disk 1 (C:) using the OS/2 installation   │
  221. │   diskettes.                                                              │
  222. │   Configure the C: partition as PRIMARY (using FDISK).                    │
  223. │   Insert the configured OS/2 system and the From-drive into BootManager.  │
  224. │   Abort when the C: disk has been formatted and boot manager is installed.│
  225. │                                                                           │
  226. │   Boot from D:.                                                           │
  227. │   OS2Copy D: C:                                                           │
  228. │   Remove hard disk 1 and insert it in To-computer.                        │
  229. │                                                                           │
  230. └───────────────────────────────────────────────────────────────────────────┘
  231.  
  232. ┌───────────────────────────────────────────────────────────────────────────┐
  233. │  Cracker section.                                                         │
  234. │                                                                           │
  235. │  The INITEDIT.EXE program includes a simple copy protection scheme.       │
  236. │                                                                           │
  237. │  This may of course be broken like any other copy protection,             │
  238. │  but quite frankly, this would not be fair play, considering the many     │
  239. │  hours I have spent analyzing different system in order to make copying   │
  240. │  possible. No documentation was available, remember ?                     │
  241. │                                                                           │
  242. │  If you want to demonstrate your skills, write your own unlimited program │
  243. │  - if you can - and place it in the Public Domain.                        │
  244. │                                                                           │
  245. └───────────────────────────────────────────────────────────────────────────┘
  246.  
  247. ┌───────────────────────────────────────────────────────────────────────────┐
  248. │                                                                           │
  249. │  Legal section:                                                           │
  250. │                                                                           │
  251. │   The OS2COPY packet has been thoroughly tested and shown to work         │
  252. │   flawlessly on a number of different systems.                            │
  253. │                                                                           │
  254. │   It is, however, distributed * AS IS *.                                  │
  255. │                                                                           │
  256. │   NO responsibility or any other obligation you can ever think of,        │
  257. │   shall be assumed, honored or anything else.                             │
  258. │                                                                           │
  259. │  >>> WARNING <<<                                                          │
  260. │> You are strongly adviced +NOT+ to execute the INITEDIT program,         <│
  261. │> once it has told that no more copies are left.                          <│
  262. │> The actions of the program are undefined.                               <│
  263. │                                                                           │
  264. ├───────────────────────────────────────────────────────────────────────────┤
  265. │                                                                           │
  266. │  This Ståhle (C) software may NOT be used for production by a business,   │
  267. │  government agency or institution without payment of a license fee.       │
  268. │                                                                           │
  269. │  A limited right to TEST this software is granted +anyone+ for            │
  270. │            * A TOTAL OF NO MORE THAN 10 COPIES *                          │
  271. │                                                                           │
  272. │  If you find the software of use to your company etc. and want to         │
  273. │  purchase it, you must order and pay for a number of copies inclusive of  │
  274. │  these 10 copies.                                                         │
  275. │                                                                           │
  276. │  Pricing:                                                                 │
  277. │                                                                           │
  278. │  OS2COPY is ordered for a specific number of copies.                      │
  279. │   11 to  100 copies: US$ 5.00 for each copy.                              │
  280. │  101 to  500 copies: US$ 4.00 for each copy.                              │
  281. │  501 to 1000 copies: US$ 3.00 for each copy.                              │
  282. │  No limit version:   US$ 3,000.00                                         │
  283. │   (A 'No limit' version which is "fully" automated                        │
  284. │    ie. limiting manual work to little more than starting and rebooting    │
  285. │    the computer, may be ordered at no extra charge).                      │
  286. │                                                                           │
  287. ├───────────────────────────────────────────────────────────────────────────┤
  288. │                                                                           │
  289. │  Public Domain 10 copy version.                                           │
  290. │                                                                           │
  291. │  If and * ONLY IF * this packet is used on a private and                  │
  292. │  personally owned computer, it is placed in the Public Domain.            │
  293. │                                                                           │
  294. │  The Public Domain version will be able to perform 10 copies.             │
  295. │                                                                           │
  296. └───────────────────────────────────────────────────────────────────────────┘
  297.  
  298. ┌───────────────────────────────────────────────────────────────────────────┐
  299. │  A word from the author:                                                  │
  300. │                                                                           │
  301. │  It may seem a kludge that names of files to be edited and subdirectory   │
  302. │  name converting tables etc. are placed in ASCII files instead of being   │
  303. │  hardcoded into program and scripts or being placed in some fancy         │
  304. │  binary files.                                                            │
  305. │  It may also seem a kludge that so much of the code is written in REXX.   │
  306. │                                                                           │
  307. │  This approach, however, enables you to                                   │
  308. │    (hopefully) keep pace with future updates of OS/2, without having to   │
  309. │    buy updates of this packet                                             │
  310. │    (not that I don't want to sell updates, but let's be reasonable).      │
  311. │  and to                                                                   │
  312. │    add init files related to programs, which create their own init files  │
  313. │    with "hard coded" partition information, instead of using OS2.INI      │
  314. │  and to                                                                   │
  315. │    add binary files, eg. programs, with "hard coded" drive letters        │
  316. │  and to                                                                   │
  317. │    add text files like Config.sys and ATM.INI including drive letters     │
  318. │  and to                                                                   │
  319. │    use this packet with the different national language versions of OS/2  │
  320. │  and to                                                                   │
  321. │    use this packet even if you have changed the standard names of subdirs.│
  322. │                                                                           │
  323. │  Regards, John Ståhle                                                     │
  324. └───────────────────────────────────────────────────────────────────────────┘
  325. ┌───────────────────────────────────────────────────────────────────────────┐
  326. │   That's all.                                                             │
  327. └───────────────────────────────────────────────────────────────────────────┘
  328.